package com.jvm.demo;

import java.io.Serializable;

/**
 * @author ：qs
 * @date ：Created in 2022/8/16
 * @description：
 * @modified By：
 */
public class Student implements Serializable {

    private Integer age;
    private String name;
    private String test;

    public static String gender = "男";
    transient  String specialty = "计算机专业";

    public Integer getAge() {
        return age;
    }
    public void setAge(Integer age) {
        this.age = age;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "age=" + age +
                ", name='" + name + '\'' +
                ", specialty='" + specialty + '\'' +
                ", gender='" + gender + '\'' +
                '}';
    }
}
